mm-inline-media-testsevaled to say whether the part
can be displayed inline.
This variable specifies whether a part can be
displayed inline, and, if so, how to do it. It does not say
whether parts are actually displayed
inline.
mm-inlined-typesmm-automatic-displaymm-automatic-external-displaymm-keep-viewer-alive-typesmm-attachment-override-typesmm-discouraged-alternatives
(setq mm-discouraged-alternatives
'("text/html" "text/richtext")
mm-automatic-display
(remove "text/html" mm-automatic-display))
Adding "image/.*" might also be useful.
Spammers use images as the preferred part of
‘multipart/alternative’ messages,
so you might not notice there are other parts. See also
gnus-buttonized-mime-types, MIME Commands.
After adding "multipart/alternative" to
gnus-buttonized-mime-types you can choose
manually which alternative you'd like to view. For example,
you can set those variables like:
(setq gnus-buttonized-mime-types
'("multipart/alternative" "multipart/signed")
mm-discouraged-alternatives
'("text/html" "image/.*"))
In this case, Gnus will display radio buttons for such a kind of spam message as follows:
1. (*) multipart/alternative ( ) image/gif
2. (*) text/plain ( ) text/html
mm-inline-large-imagest disables this check and
makes the library display all inline images as inline,
regardless of their size. If you set this variable to
resize, the image will be displayed resized to fit
in the window, if Emacs has the ability to resize
images.mm-inline-large-images-proportionmm-inline-override-typesmm-inlined-types
may include regular expressions, for example to specify that
all ‘text/.*’ parts be displayed inline.
If a user prefers to have a type that matches such a regular
expression be treated as an attachment, that can be
accomplished by setting this variable to a list containing that
type. For example assuming mm-inlined-types
includes ‘text/.*’, then including
‘text/html’
in this variable will cause ‘text/html’ parts to be treated as
attachments.mm-text-html-renderergnus-article-html, w3,
w3m1, links,
lynx, w3m-standalone or
html2text. If nil use an external
viewer. You can also specify a function, which will be called
with a MIME handle as the
argument.mm-inline-text-html-with-imagesnil (which is the default). It is
currently ignored by Emacs/w3. For emacs-w3m, you may use the
command t on the image anchor to show an image even
if it is nil.2mm-w3m-safe-url-regexpnil consider all URLs safe. In Gnus, this will
be overridden according to the value of the variable
gnus-safe-html-newsgroups, See Various
Various.mm-inline-text-html-with-w3m-keymapnil. The
default value is t.mm-external-terminal-programmm-enable-externalIf t, all defined external
MIME handlers are used. If
nil, files are saved to disk
(mailcap-save-binary-file). If it is the symbol
ask, you are prompted before the external
MIME handler is invoked.
When you launch an attachment through mailcap (see
mailcap) an attempt is
made to use a safe viewer with the safest options—this
isn't the case if you save it to disk and launch it in a
different way (command line or double-clicking). Anyhow, if
you want to be sure not to launch any external programs, set
this variable to nil or ask.
[1] See http://emacs-w3m.namazu.org/ for more information about emacs-w3m
[2] The command T will load all
images. If you have set the option w3m-key-binding
to info, use i or I
instead.